package com.kws.system.service.contractTemplateService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.common.core.domain.R;
import com.kws.system.domain.contractManagementDao.Rq.CreateContractTemplateRq;
import com.kws.system.domain.contractManagementDao.TbContractTemplate;
import com.kws.system.domain.contractManagementDao.info.QueryContractTemplateInfo;

import java.util.List;

public interface ContractTemplateService extends IService<TbContractTemplate> {
    R<Page<QueryContractTemplateInfo>> queryContractTemplatePage(Integer pageNum, Integer pageSize, String name, Integer type);

    boolean createContractTemplate(CreateContractTemplateRq rq);

    boolean deleteContractTemplateById(Long id);

    List<String> queryTemplateFileById(Long id);
}
